package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门禁卡对象 bie_access_card
 *
 * @author zxl
 * @date 2021-05-03
 */
public class BieAccessCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 门禁卡编号 */
    @Excel(name = "门禁卡编号")
    private String accessCardId;

    /** 住户编号 */
    @Excel(name = "住户编号")
    private String holderId;

    /** 房子编号 */
    @Excel(name = "房子编号")
    private String houseId;

    /** 门禁卡状态(1可用0不可用) */
    @Excel(name = "门禁卡状态(1可用0不可用)")
    private Integer accessFlag;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String holderName;

    /** 持卡者手机号码 */
    @Excel(name = "持卡者手机号码")
    private String phone;

    /** 持卡人所在小区名称 */
    @Excel(name = "持卡人所在小区名称")
    private String vllageName;

    /** 单元号 */
    @Excel(name = "单元号")
    private String unitNum;

    /** 栋号 */
    @Excel(name = "栋号")
    private String buildingNum;

    /** 层号 */
    @Excel(name = "层号")
    private String floorNum;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomNum;

    public void setAccessCardId(String accessCardId)
    {
        this.accessCardId = accessCardId;
    }

    public String getAccessCardId()
    {
        return accessCardId;
    }
    public void setHolderId(String holderId)
    {
        this.holderId = holderId;
    }

    public String getHolderId()
    {
        return holderId;
    }
    public void setHouseId(String houseId)
    {
        this.houseId = houseId;
    }

    public String getHouseId()
    {
        return houseId;
    }
    public void setAccessFlag(Integer accessFlag)
    {
        this.accessFlag = accessFlag;
    }

    public Integer getAccessFlag()
    {
        return accessFlag;
    }
    public void setHolderName(String holderName)
    {
        this.holderName = holderName;
    }

    public String getHolderName()
    {
        return holderName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setVllageName(String vllageName)
    {
        this.vllageName = vllageName;
    }

    public String getVllageName()
    {
        return vllageName;
    }
    public void setUnitNum(String unitNum)
    {
        this.unitNum = unitNum;
    }

    public String getUnitNum()
    {
        return unitNum;
    }
    public void setBuildingNum(String buildingNum)
    {
        this.buildingNum = buildingNum;
    }

    public String getBuildingNum()
    {
        return buildingNum;
    }
    public void setFloorNum(String floorNum)
    {
        this.floorNum = floorNum;
    }

    public String getFloorNum()
    {
        return floorNum;
    }
    public void setRoomNum(String roomNum)
    {
        this.roomNum = roomNum;
    }

    public String getRoomNum()
    {
        return roomNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("accessCardId", getAccessCardId())
                .append("holderId", getHolderId())
                .append("houseId", getHouseId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("accessFlag", getAccessFlag())
                .append("holderName", getHolderName())
                .append("phone", getPhone())
                .append("vllageName", getVllageName())
                .append("unitNum", getUnitNum())
                .append("buildingNum", getBuildingNum())
                .append("floorNum", getFloorNum())
                .append("roomNum", getRoomNum())
                .toString();
    }
}